const Router = require('koa-router')
const { login } = require('../controller/auth.controller')
const { validity } = require('../middleware/auth.middle')
const authRouter = new Router()
authRouter.post('/login', validity, login)
module.exports = authRouter